#include <iostream>
#include <vector>

using std::vector;
using std::cout;
using std::endl;

int main()
{
	const size_t as = 10;
	int a[as];
	for(size_t i = 0; i < as; i++)
	{
		a[i] = 10;
	}
	
	int b[as];
	for(size_t i = 0; i < as; i++)
	{
		b[i] = a[i];
	}

	vector<int> vec1(10, 10);
	vector<int> vec2(vec1);
	
	cout << "a[]:";
	for(size_t i = 0; i < as; i++)
	{
		cout << a[i] << " ";
	}
	cout << endl;
	
	cout << "b[]:";
	for(size_t i = 0; i < as; i++)
	{
		cout << b[i] << " ";
	}
	cout << endl;
	
	cout << "vec1:";
	for(vector<int>::const_iterator itr = vec1.begin(); itr != vec1.end(); itr++)
	{
		cout << *itr << " ";
	}
	cout << endl;

	cout << "vec2:";
	for(vector<int>::size_type st = 0; st != vec2.size(); st++)
	{
		cout << vec2[st] << " ";
	}
	cout << endl;
	
	return 0;
}
